phpseclib3\Math\BigInteger\Engines\Engine D

Total Complexity 168
Dependencies 7
Dependents 2
Total lines 1,189
Lines of code 604
Logical lines of code 418
Comment lines 411
Methods 41
Properties 5

Methods 41

Method Rating Maintainability Complexity Lines of code
__construct()
C
31 26 81
setupIsPrime()
A
55 12 16
slidingWindow()
A
44 10 41
randomRangePrimeInner()
A
51 9 30
testPrimality()
A
51 9 26
rootInner()
A
48 8 36
bitwise_leftRotate()
S
48 7 30
toBytesHelper()
S
57 7 15
randomRangeHelper()
S
49 5 30
modInverseHelper()
S
59 5 14
powModOuter()
S
60 5 12
bitwise_not()
S
52 4 22
base256_lshift()
S
57 4 15
toBits()
S
63 5 9
rootHelper()
S
62 4 12
randomRangePrimeOuter()
S
61 4 12
createRecurringModuloFunction()
S
54 3 22
setModExpEngine()
S
62 4 10
minHelper()
S
63 4 10
maxHelper()
S
63 4 10
bitwise_split()
S
60 3 13
extendedGCDHelper()
S
52 2 27
minMaxBits()
S
57 2 16
setPrecision()
S
63 2 11
serialize()
S
68 2 7
unserialize()
S
64 2 9
isPrime()
S
71 2 6
root()
S
80 1 3
bitwiseAndHelper()
S
65 1 8
bitwiseOrHelper()
S
65 1 8
getPrecision()
S
82 1 3
toHex()
S
80 1 3
setBitmask()
S
76 1 3
__toString()
S
81 1 3
randomPrime()
S
75 1 4
random()
S
75 1 4
__debugInfo()
S
70 1 6
getLengthInBytes()
S
80 1 3
getLength()
S
80 1 3
bitwise_rightRotate()
S
80 1 3
bitwiseXorHelper()
S
65 1 8